package cn.itcast.bos.repository;

import cn.itcast.bos.domain.take_delivery.Order;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * Created by Think on 2017/9/27.
 */
public interface OrderRepository extends JpaRepository<Order,Integer>,JpaSpecificationExecutor<Order> {
    Order findByOrderNum(String orderNum);
}
